<?php Pants::partial('includes/header'); ?>

<?php foreach($articles as $article): ?>
  <?php Pants::partial('includes/article/'.$mode, array('article' => $article)); ?>
<?php endforeach; ?>

<?php Pants::partial('includes/pager'); ?>
<?php Pants::partial('includes/footer'); ?>